export default {
  panels: [
    {
      index: 0,
      name: 1,
      height: 147.6,
      width: 210,
      paperHeader: 0,
      paperFooter: 396,
      printElements: [
        {
          options: {
            left: 150,
            top: 21,
            height: 17,
            width: 279,
            testData: '单据表头',
            fontSize: 16.5,
            fontWeight: '700',
            textAlign: 'center',
            hideTitle: true,
            title: '唐山曹妃甸文丰码头有限公司',
            right: 427.5,
            bottom: 42.5,
            vCenter: 288,
            hCenter: 34,
            coordinateSync: false,
            widthHeightSync: false,
            qrCodeLevel: 0
          },
          printElementType: { title: '单据表头', type: 'text' }
        },
        {
          options: {
            left: 4.5,
            top: 42,
            height: 114,
            lineHeight: 5,
            tableHeaderRowHeight: 20,
            width: 589.5,
            field: 'table',
            footerFormatter: (options, rows, data, currentPageGridRowsData) => {
              if (data && data['quantityOut'] && data['volumeOut'] && data['amount']) {
                return `<td style="text-align: center;padding:0 10px" colspan="1">合计</td><td style="text-align: center;padding:0 10px" colspan="1">${data['quantityOut']}</td><td style="text-align: center;padding:0 10px" colspan="1">${data['volumeOut']}</td><td style="text-align: center;padding:0 10px" colspan="1">-</td><td style="text-align: center;padding:0 10px" colspan="1">-</td><td style="text-align: center;padding:0 10px" colspan="1">-</td><td style="text-align: center;padding:0 10px" colspan="1">${data['amount']}</td>`
              }
              return `<td style="text-align: center;padding:0 10px" colspan="1">合计</td><td style="text-align: center;padding:0 10px" colspan="1">-</td><td style="text-align: center;padding:0 10px" colspan="1">-</td><td style="text-align: center;padding:0 10px" colspan="1">-</td><td style="text-align: center;padding:0 10px" colspan="1">-</td><td style="text-align: center;padding:0 10px" colspan="1">-</td><td style="text-align: center;padding:0 10px" colspan="1">-</td>`
            },
            right: 595.5,
            bottom: 114.75,
            vCenter: 300.75,
            hCenter: 78.75,
            tableHeaderBackground: '#ffffff',
            coordinateSync: false,
            widthHeightSync: false,
            columns: [
              [
                {
                  width: 67.76186081456753,
                  title: '付款单位',
                  checked: true,
                  columnId: 'name',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 137.13581081456744,
                  title: '唐山曹妃甸兴潮木业有限公司',
                  checkId: 'payCompanyName',
                  checked: true,
                  columnId: 'gender',
                  fixed: false,
                  rowspan: 1,
                  colspan: 2,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 60.10091997595765,
                  title: '船名',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 131.27808581456753,
                  title: '费德瑞卡',
                  checked: true,
                  checkId: 'shipName',
                  columnId: 'count',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 57.01908581456752,
                  title: '完全落垛日期',
                  checked: true,
                  columnId: 'amount',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 136.2042367657723,
                  title: '2022/10/13',
                  checked: true,
                  checkId: 'inOutDate',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                }
              ],
              [
                {
                  width: 67.76186081456753,
                  title: '提单方数',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 137.13581081456744,
                  title: '8639.700',
                  checked: true,
                  checkId: 'billVolume',
                  fixed: false,
                  rowspan: 1,
                  colspan: 2,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 66.06941997595767,
                  title: '理货根数',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 125.30958581456751,
                  title: '25095',
                  checked: true,
                  checkId: 'billVolume',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 57.01908581456752,
                  title: '根平均方量',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 136.2042367657723,
                  title: ' 0.311279737',
                  checkId: 'billVolume',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                }
              ],
              [
                {
                  width: 64.62698394174424,
                  title: '合同号',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 95.68708321165114,
                  title: 'MY-MT-MCZY-2022-008',
                  checkId: 'contactNo',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 2,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 100,
                  title: '是否熏蒸',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 100,
                  title: '否',
                  checked: true,
                  checkId: 'isXz',
                  fixed: false,
                  rowspan: 1,
                  colspan: 3,
                  align: 'center',
                  tableColumnHeight: '30',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                }
              ],
              [
                {
                  width: 69.86863326017983,
                  title: '日期',
                  field: 'storageDate',
                  checked: true,
                  columnId: 'amount',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '20',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 97.97960025151734,
                  title: '出库根数',
                  field: 'quantityOut',
                  checked: true,
                  columnId: 'amount',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '20',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 82.17648676577232,
                  title: '出库方数',
                  field: 'volumeOut',
                  checked: true,
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '20',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 60.095604058623934,
                  title: '库存方数',
                  field: 'volume',
                  checked: true,
                  columnId: 'amount',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '20',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 136.10011892446883,
                  title: '落垛后天数',
                  field: 'days',
                  checked: true,
                  columnId: 'amount',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '20',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 67.02028389908803,
                  title: '单价',
                  field: 'rate',
                  checked: true,
                  columnId: 'amount',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '20',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                },
                {
                  width: 76.25927284034978,
                  title: '库场使用费',
                  field: 'amount',
                  checked: true,
                  columnId: 'amount',
                  fixed: false,
                  rowspan: 1,
                  colspan: 1,
                  align: 'center',
                  tableColumnHeight: '20',
                  tableTextType: 'text',
                  tableBarcodeMode: 'CODE128A',
                  tableQRCodeLevel: 0,
                  tableSummaryTitle: true,
                  tableSummary: ''
                }
              ]
            ]
          },
          printElementType: {
            title: '表格',
            type: 'table',
            editable: true,
            columnDisplayEditable: true,
            columnDisplayIndexEditable: true,
            columnTitleEditable: true,
            columnResizable: true,
            columnAlignEditable: true,
            isEnableEditField: true,
            isEnableContextMenu: true,
            isEnableInsertRow: true,
            isEnableDeleteRow: true,
            isEnableInsertColumn: true,
            isEnableDeleteColumn: true,
            isEnableMergeCell: true
          }
        },
        {
          options: {
            left: 147,
            top: 156,
            height: 16,
            width: 43.5,
            title: '审核：',
            coordinateSync: false,
            widthHeightSync: false,
            fontSize: 6.75,
            fontWeight: '700',
            textContentVerticalAlign: 'middle',
            qrCodeLevel: 0,
            right: 309.24609375,
            bottom: 157.99609375,
            vCenter: 287.49609375,
            hCenter: 149.99609375
          },
          printElementType: { title: '这是更新后的元素', type: 'text' }
        },
        {
          options: {
            left: 264,
            top: 156,
            height: 16,
            width: 43.5,
            title: '复核：',
            coordinateSync: false,
            widthHeightSync: false,
            fontSize: 6.75,
            fontWeight: '700',
            textContentVerticalAlign: 'middle',
            qrCodeLevel: 0,
            right: 307.74609375,
            bottom: 171.49609375,
            vCenter: 285.99609375,
            hCenter: 163.49609375
          },
          printElementType: { title: '这是更新后的元素', type: 'text' }
        },
        {
          options: {
            left: 4.5,
            top: 156,
            height: 16,
            width: 66,
            field: 'userName',
            testData: '张鑫',
            fontSize: 6.75,
            fontWeight: '700',
            textContentVerticalAlign: 'middle',
            title: '制表人',
            right: 71.25,
            bottom: 172,
            vCenter: 38.25,
            hCenter: 164,
            coordinateSync: false,
            widthHeightSync: false,
            qrCodeLevel: 0
          },
          printElementType: { title: '订单编号', type: 'text' }
        },
        {
          options: {
            left: 457.5,
            top: 156,
            height: 16,
            width: 43.5,
            title: '客户：',
            coordinateSync: false,
            widthHeightSync: false,
            fontSize: 6.75,
            fontWeight: '700',
            textContentVerticalAlign: 'middle',
            qrCodeLevel: 0,
            right: 500.25,
            bottom: 171.25,
            vCenter: 478.5,
            hCenter: 163.25
          },
          printElementType: { title: '这是更新后的元素', type: 'text' }
        },
        {
          options: {
            left: 4.5,
            top: 175.5,
            height: 16,
            width: 207,
            field: 'chargeCompanyName',
            testData: '唐山曹妃甸文丰码头有限公司',
            fontSize: 6.75,
            fontWeight: '700',
            textContentVerticalAlign: 'middle',
            title: '单位名称',
            right: 104.25,
            bottom: 191.5,
            vCenter: 54,
            hCenter: 183.5,
            coordinateSync: false,
            widthHeightSync: false,
            qrCodeLevel: 0
          },
          printElementType: { title: '业务日期', type: 'text' }
        },
        {
          options: {
            left: 4.5,
            top: 192,
            height: 16,
            width: 207,
            field: 'payName',
            testData: '中信银行股份有限公司唐山曹妃甸支行',
            fontSize: 6.75,
            fontWeight: '700',
            textContentVerticalAlign: 'middle',
            title: '收款银行',
            right: 210.99609375,
            bottom: 205.24609375,
            vCenter: 107.49609375,
            hCenter: 197.24609375,
            coordinateSync: false,
            widthHeightSync: false,
            qrCodeLevel: 0
          },
          printElementType: { title: '业务日期', type: 'text' }
        },
        {
          options: {
            left: 4.5,
            top: 208.5,
            height: 16,
            width: 207,
            field: 'companyNumber',
            testData: '7235210182600027414',
            fontSize: 6.75,
            fontWeight: '700',
            textContentVerticalAlign: 'middle',
            title: '开户账号',
            right: 208.74609375,
            bottom: 224.74609375,
            vCenter: 105.24609375,
            hCenter: 216.74609375,
            coordinateSync: false,
            widthHeightSync: false,
            qrCodeLevel: 0
          },
          printElementType: { title: '业务日期', type: 'text' }
        }
      ],
      paperNumberLeft: 577.5,
      paperNumberTop: 400.5,
      paperNumberDisabled: true
    }
  ]
}
